var express = require('express');
var router = express.Router();

//用户业务逻辑处理对象
const userServices =  require("../services/user/user_ves.js");

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});

//登录
router.post("/login",userServices.login);
//注册
router.post("/register",userServices.register);
//注销

module.exports = router;
